package com.dks.models;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

public class WechatUserInfo implements Serializable{

    private static final long serialVersionUID =  1L;

    public WechatUserInfo (){
    }

    /** 主键 */
    private Long id;
    /** 普通用户的标识，对当前开发者帐号唯一 */
    private String openid;
    /** 普通用户昵称 */
    private String nickname;
    /** 用户特权信息，json数组，如微信沃卡用户为（chinaunicom） */
    private String privilege;
    /** 用户统一标识。针对一个微信开放平台帐号下的应用，同一用户的unionid是唯一的。 */
    private String unionid;
    /** 用户id */
    private Long userId;
    /** 创建人 */
    private Long createUserId;
    /** 创建时间 */
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime gmtCreateTime;
    /** 修改人 */
    private Long modifyUserId;
    /** 修改时间 */
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime gmtModifyTime;
    /** 有效状态 0可用 1不可用 */
    private Integer recStatus;

	public final Long getId() {
        return this.id;
	}

	public final void setId(final Long id) {
        this.id = id;
	}

	public final String getOpenid() {
        return this.openid;
	}

	public final void setOpenid(final String openid) {
        this.openid = openid;
	}

	public final String getNickname() {
        return this.nickname;
	}

	public final void setNickname(final String nickname) {
        this.nickname = nickname;
	}

	public final String getPrivilege() {
        return this.privilege;
	}

	public final void setPrivilege(final String privilege) {
        this.privilege = privilege;
	}

	public final String getUnionid() {
        return this.unionid;
	}

	public final void setUnionid(final String unionid) {
        this.unionid = unionid;
	}

	public final Long getUserId() {
        return this.userId;
	}

	public final void setUserId(final Long userId) {
        this.userId = userId;
	}

	public final Long getCreateUserId() {
        return this.createUserId;
	}

	public final void setCreateUserId(final Long createUserId) {
        this.createUserId = createUserId;
	}


	public final Long getModifyUserId() {
        return this.modifyUserId;
	}

	public final void setModifyUserId(final Long modifyUserId) {
        this.modifyUserId = modifyUserId;
	}


	public final Integer getRecStatus() {
        return this.recStatus;
	}

	public final void setRecStatus(final Integer recStatus) {
        this.recStatus = recStatus;
	}

    public LocalDateTime getGmtCreateTime() {
        return gmtCreateTime;
    }

    public void setGmtCreateTime(LocalDateTime gmtCreateTime) {
        this.gmtCreateTime = gmtCreateTime;
    }

    public LocalDateTime getGmtModifyTime() {
        return gmtModifyTime;
    }

    public void setGmtModifyTime(LocalDateTime gmtModifyTime) {
        this.gmtModifyTime = gmtModifyTime;
    }
}
